import Layout from '@/layout'

export const routesHome = [
  // 首页
  {
    // name: 'Home',
    path: '/',
    redirect: '/home',
    component: Layout,
    children: [
      // 定义进入到"/home"时默认的页面
      {
        name: 'Home',
        path: 'home',
        component: () => import('@/views/home/index'),
        meta: {
          title: '首页',
          icon: 'HomeFilled',
        },
        flagHidden: false,
      },
    ],
  },
]

export default routesHome
